<template>
  <div class="my-header">
    <img src="../assets/logo.png" />
    <!-- <img :src="img" /> -->
    music - 2213
  </div>
</template>
<script>
// 将图片当成变量来用
import logo from "../assets/logo.png";
console.log(logo);
export default {
  data() {
    return {
      img: logo,
    };
  },
};
</script>

<style lang="less" scoped>
@import "@styles/index.less";
.my-header {
  img {
    .w(20);
    .h(20);
  }
  .w(375);
  .h(44);
  .l_h(44);
  text-align: center;
  color: @font-yellow;
  .fs(18);
  font-weight: 500;
}
</style>
